import request from '@/utils/request'

export default {

  list() {
    return request({
      url: `/main/room-kind/list`,
      method: 'get'
    })
  },

  deleteById(id){
    return request({
      url: `/main/room-kind/delete/${id}`,
      method: 'delete',
    })
  },
  add(kind){
    return request({
      url: `/main/room-kind/add/${kind}`,
      method: 'get',
    })
  }

}

